Linux USB HID Device


Posted by Jerome on 2021-11-30

USB Descriptor

  1. Device Descriptor
  2. Configuration Descriptor
  3. Interface Descriptor -> HID Descriptor -> Report and Physical Descriptor
  4. Endpoint Descriptor

Report Descriptor

  1. Data format

    Usage Page
    Usage
    Collection
    ...
    End Collection
    
  2. Report type
    Input report: For standard defined data.
    Output report: Not suggest to use, some old OS systems do not support this report type.
    Feature report: For self-defined data.


#linux #usb #hid #Report Descriptor







Related Posts

平面最近點對:比較4種不同複雜度之算法

平面最近點對:比較4種不同複雜度之算法

API 留言板練習-Part 2 : 前端串 API

API 留言板練習-Part 2 : 前端串 API

人人都能使用的圖片轉文字(OCR)

人人都能使用的圖片轉文字(OCR)


Comments